<include file="Public:header"/>
<link rel="stylesheet" type="text/css" href="../Public/css/index-guquan.css" />

<div class="custom_detail">
	<div class="wrap">
		<div class="clearfix content" style="margin-top: 30px;">
			<div class="thumb"><img src="{:img($info['images_url'], 750, 450)}" width="507" alt=""></div>
			<div class="info">
				<h3 style="color: #212121 !important;">{$info['title']}</h3>
				<p class="price"><span>服务价：</span>￥{$info['service_price']}/{$info['price_unit']}</p>
				<div class="service-list-box">
					<span class="name">选择合同：</span>
					<ul>
						<volist name="service_list" id="rs">
							<li class="jump {$rs['agreement_id'] == $info['agreement_id'] ? 'selected' : ''}" url="{:URL('detail', array('agreement_id' => $rs['agreement_id']))}">{$rs['title']}</li>
						</volist>
					</ul>
				</div>
				<dl>
					<dt>合同说明：</dt>
					<dd style="background: #F0F0F0;padding: 5px 10px;font-size: 12px;">{$info['description']}</dd>
				</dl>
				<div class="clearfix operate" style="border: 0px;">
					<a class="btn_made" href="{:URL('submit_order', array('agreement_id' => $info['agreement_id']))}">立即定制</a>
					<notempty name="info.qq_service">
						<a class="btn_advisory nojump" href="http://wpa.qq.com/msgrd?v=3&uin={$info['qq_service']}&site=qq&menu=yes" target="_blank">立即咨询</a>
					</notempty>
				</div>
			</div>
		</div>
		
		<notempty name="package_list">
			<div class="package-box">
				<div class="title-box">
					<span>推荐套餐</span>
				</div>
				<ul>
					<php>$count = count($package_list);</php>
					<volist name="package_list" id="rs">
						<li class="jump" url="{:URL('detail', array('agreement_id' => $rs['agreement_id']))}">
							<div class="img">
								<img src="{:img($rs['icon_url'], 100, 100)}" alt="">
							</div>
							<div class="title">
								<span class="if if-ok-2"></span>
								<span class="name">{$rs['title']}</span>
							</div>
						</li>
						<neq name="count" value="$i">
							<li class="add">
								<i class="if if-add"></i>
							</li>
						</neq>
					</volist>
					
					<li class="result-box">
						<div class="equal">
							<i class="if if-equal"></i>
						</div>
						<div class="price-box">
							<p>原价：￥{$package_original_price}</p>
							<p class="package-price">套餐价：￥{$info['package_price']}</p>
							<p class="buy"><a href="{:URL('submit_order', array('agreement_id' => $info['agreement_id'], 'is_package' => 1))}">立即购买</a></p>
						</div>
					</li>
				</ul>
			</div>
		</notempty>

		<div class="content-box">
			<div class="product-box">
				<div class="title-box">产品列表</div>
				<ul>
					<volist name="show_list" id="rs">
						<li class="jump {$rs['agreement_id'] == $info['agreement_id'] ? 'selected' : ''}" url="{:URL('detail', array('agreement_id' => $rs['agreement_id']))}">{$rs['title']}</li>
					</volist>
					<notempty name="other_list">
						<li class="other if if-add">其它</li>
					</notempty>
					<volist name="other_list" id="rs">
						<li class="other-li jump {$rs['agreement_id'] == $info['agreement_id'] ? 'selected' : ''}" url="{:URL('detail', array('agreement_id' => $rs['agreement_id']))}">{$rs['title']}</li>
					</volist>
				</ul>
			</div>
			<div class="detail-box">
				{$info['service_content']}
			</div>
		</div>
	</div>
	
</div>


<style type="text/css">
.service-list-box{ font-size: 14px; overflow: hidden; line-height: 24px; }
.service-list-box span{ float: left; }
.service-list-box ul{ float: left; width: 450px; }
.service-list-box ul li{ float: left; margin-right: 10px; border: 1px solid #aaa; padding: 0px 5px; margin-bottom: 5px; }
.service-list-box ul li:hover,.service-list-box ul li.selected{ color: #068FC3; border: 1px solid #068FC3;}
.btn_made{ margin-right: 80px !important; background: #068FC3 !important; }
.btn_made:hover{ background: #068FDE !important; }
.btn_advisory{ background: #52C18A !important; }
.btn_advisory:hover{ background: #52C178 !important; }

/*
推荐套餐样式
 */
.package-box{ margin-top: 30px; }
.package-box .title-box{ overflow: hidden; }
.package-box .title-box span{ float: left; padding: 5px 12px; font-size: 16px; color: #FFF; border-top-left-radius: 5px; border-top-right-radius: 5px; background: #068FC3; }
.package-box ul{ border: 1px solid #CFCFCF; overflow: hidden; text-align: center; padding: 20px 0px; }
.package-box ul li{ float: left; width: 180px; }
.package-box ul .img img{ width: 60px; height: 60px; }
.package-box ul li .if-ok-2:before{ font-size: 12px; border: 1px solid #212121; }
.package-box ul li .title{ line-height: 28px; font-size: 14px; color: #212121; }
.package-box ul li.add,.package-box ul li .equal{ float: left; line-height: 89px; width: 30px; }
.package-box ul li.add .if-add:before,.package-box ul li .if-equal:before{ font-size: 30px; }

.package-box ul li.result-box{ float: right; font-size: 14px; text-align: left; }
.package-box ul li.result-box .package-price{ color: #E3514C; }
.package-box ul li .price-box{ float: left; margin-left: 15px; margin-top: 10px; }
.package-box ul li.result-box .buy{ /*text-align: center; */}
.package-box ul li.result-box .buy a{ background: #E3514C; color: #FFF; line-height: 30px; padding: 0px 10px; display: inline-block; }

.content-box{ margin-top: 20px; width: 100%; overflow: hidden; }
.content-box .product-box{ float: left; width: 210px; overflow: hidden; }
.content-box .detail-box{ float: right; overflow: hidden; width: 860px; }
.content-box .product-box .title-box{ font-size: 16px; line-height: 40px; text-align: center; border: 1px solid #CFCFCF; border-bottom: 2px solid #068FC3; margin-bottom: 10px; color: #262626}
.content-box .product-box ul{ border: 1px solid #CFCFCF; padding: 10px 20px; font-size: 14px; line-height: 30px; padding-left: 40px;}
.content-box .product-box ul .selected{ color: #068FC3; }
.content-box .product-box ul .other{ cursor: pointer; margin-left: -16px; }
.content-box .product-box ul .other-li{ display: none; }

</style>

<script type="text/javascript">
$(document).ready(function() {
	$('.content-box .product-box ul .other').click(function() {
		if($(this).hasClass('if-add')){
			$(this).removeClass('if-add').addClass('if-minus');
			$('.content-box .product-box ul .other-li').slideDown();
		}else{
			$(this).removeClass('if-minus').addClass('if-add');
			$('.content-box .product-box ul .other-li').slideUp();
		}
	})
})
</script>

<div class="centent-new-m" style="">       
    <div class="wrap">
        <div class="block_ml_con clearfix">
            <ul class="">
                <li>
                    <img src="../Public/img/tg7.png"alt="">
                    <i>专业</i>
                    <em>专业问题，只能专业解决</em>
                </li>
                <li>
                    <img src="../Public/img/tg8.png"alt="">
                    <i>高效</i>
                    <em>互联时代，效率是竞争力</em>
                </li>
                <li>
                    <img src="../Public/img/tg9.png"alt="">
                    <i>定制</i>
                    <em>个性需求，定制方案</em>
                </li>
                <li>
                    <img src="../Public/img/tg10.png"alt="">
                    <i>保障</i>
                    <em>成果交付，后续增值跟进</em>
                </li>
            </ul>                                                
        </div> 
    </div>
</div>
<include file="Public:footer"/>